package com.tre.jdevtemplateboot.service;

import com.tre.jdevtemplateboot.common.dto.ResponseResult;
import com.tre.jdevtemplateboot.domain.dto.SpAppMstDto;
import com.tre.jdevtemplateboot.domain.po.SpAppMst;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tre.jdevtemplateboot.domain.vo.SpAppMstListVO;
import com.tre.jdevtemplateboot.domain.vo.SpAppMstVO;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JDev
 * @since 2023-11-15
 */
@Primary
@Service
public interface ISpAppMstService extends IService<SpAppMst> {
    ResponseResult<SpAppMstListVO> findAll();

    ResponseResult<SpAppMstVO> getSpAppById(String id);

    ResponseResult saveApp(SpAppMstDto dto);

    ResponseResult updateApp(SpAppMstDto dto);

    ResponseResult delete(String id);
}
